package com.permissionmanager.mapper;

import com.permissionmanager.entity.PermRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * permRole持久层
 *
 */
@Mapper
public interface PermRoleMapper {
    void add(PermRole permRole);

    void update(PermRole permRole);

    List<PermRole> findPermRole(Integer id, Integer roleId);

    void del(Integer id);
}
